import request from '../utils/request'

// 获取轮播图
export const getSwiper = () => {
  return request({
    url: '/home/swiper'
  })
}

// 获取租房小组
export const getGroups = () => {
  return request({
    url: '/home/groups?area=AREA%7C88cff55c-aaa4-e2e0'
  })
}

// 获取最新资讯
export const getNews = () => {
  return request({
    url: '/home/news?area=AREA%7C88cff55c-aaa4-e2e0'
  })
}